From 7aa32ad81e36b58957dee9f989e6ae8fd9c15f91 Mon Sep 17 00:00:00 2001 From: robertlipe Date: Sun, 13 Apr 2014 03:37:55 +0000 Subject: [PATCH] Well, isn't this fun? The newly added Garmin format overlows an internal hardcoded buffer when we format our help options, such as we do when we make doc...like one does when trying to make a release. Argh! --- gpsbabel/xcsv.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gpsbabel/xcsv.cc b/gpsbabel/xcsv.cc index b1d9e84cb..88cf49ea5 100644 --- a/gpsbabel/xcsv.cc +++ b/gpsbabel/xcsv.cc @@ -515,7 +515,9 @@ xcsv_parse_style_line(char* sbuff) static void xcsv_parse_style_buff(const char* sbuff) { - char ibuf[256]; + // FIXME: should not be a static buf. Should not be a raw character + // buffer at all! + char ibuf[4096]; char* ibufp; size_t i; -- 2.30.2